package com.itheima;


import com.itheima.entity.PageResult1;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Permission;
import com.itheima.pojo.Role;

import java.util.Set;

public interface RoleService {
    Set<Permission> findPermissionById(Integer id);

    Set<Role> findAll();

    PageResult1 findPage(QueryPageBean queryPageBean);

    void add(Role role);

    void delete(Integer id);
}
